package net.pacman.model;

public abstract class Character extends CharacterBase implements UpdateState{

    private float life;
    private float speed;

    public Character() {
        super();
        life = 1.0f;
        speed = 1.0f;
    }

    public Character(float x, float y, boolean isMoving, float life, float speed) {
        super(x, y, isMoving);

        this.life = life;
        this.speed = speed;
    }

    public abstract void movimentation();

    public abstract void damage();
    
    public abstract void update();

    public float getLife() {
        return life;
    }
    
    public float getSpeed() {
        return speed;
    }
}
